%h1 违章信息
%table.table.table-bordered
  %thead
    %tr
      %th 违章时间
      %th 违章地点
      %th 违章内容
      %th 违章代码
      %th 违章扣分
      %th 罚款金额
      %th 是否处理
      %th{:colspan => "3"}
  %tbody
    - traffic_violations.each do |traffic_violation|
      %tr
        %td= traffic_violation.voilated_at
        %td= traffic_violation.location
        %td= traffic_violation.action
        %td= traffic_violation.code
        %td= traffic_violation.deduction
        %td= traffic_violation.fine_amount
        %td= traffic_violation.handled
